MOVE FILE

This command will move an existing file to a new location.

  Syntax
MOVE FILE Source Filename, Destination Filename
  Parameters
Source Filename
String
The existing file name too move
Destination Filename
String
The destination filename must not exist or the command will fail

  Returns

This command does not return a value.

  Description

The destination filename must not exist or the command will fail.

  Example Code
cls
move file "C:\oldfile.txt","d:\oldfile.txt"
move file "C:\oldfile.txt","d:\newfile.txt"
do
loop
end
  See also

FILE Commands Menu
Index